home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaarrrrsssshhhheeeellllllll((((1111)))) aaaarrrrsssshhhheeeellllllll((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- arshell - remote shell for arrays
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- aaaarrrrsssshhhheeeellllllll [_o_p_t_i_o_n_s...] [_u_s_e_r_n_a_m_e@]_h_o_s_t _c_o_m_m_a_n_d
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _a_r_s_h_e_l_l is an array-cognizant variation of the standard _r_s_h(1C) command:
- it connects to the specified _h_o_s_t and executes the specified _c_o_m_m_a_n_d.
- For the purposes of parsing the _a_r_s_h_e_l_l command line, _h_o_s_t (optionally
- prepended with _u_s_e_r_n_a_m_e) is considered to be the first argument that does
- not being with the character "-", and _c_o_m_m_a_n_d is considered to be the
- second such argument, as well as all of the arguments following it.
-
- _a_r_s_h_e_l_l copies its standard input to the remote command, the standard
- output of the remote command to its standard output, and the standard
- error of the remote command to its standard error. Interrupt, quit and
- terminate signals are propagated to the remote command; _a_r_s_h_e_l_l normally
- terminates when the remote command does. If the ----nnnn option is specified,
- the remote command's standard input is taken from /dev/null instead of
- _a_r_s_h_e_l_l's standard input; this can be useful if you intend to put _a_r_s_h_e_l_l
- in the background under certain shells without redirecting its input away
- from the terminal, since doing so may cause _a_r_s_h_e_l_l to block even if the
- remote program does not try to read from its standard input.
-
- The remote username used is the same as your local username, unless you
- specify a different remote name with the ----llll option or by using the
- _u_s_e_r_n_a_m_e@_h_o_s_t format. This remote name must be equivalent (in the sense
- of _r_l_o_g_i_n(1C)) to the originating account; no provision is made for
- specifying a password with a command.
-
- If you omit _c_o_m_m_a_n_d, you will be logged in on the remote host using
- _r_l_o_g_i_n(1C) rather than _a_r_s_h_e_l_l itself. In this case, arguments that are
- unique to _a_r_s_h_e_l_l will be discarded while any additional arguments known
- to _r_l_o_g_i_n (for example, ----LLLL) will be passed along.
-
- The connection to the remote machine is established using the array
- services daemons on both the local and remote machines. This allows
- additional information, such as your local array session handle, to be
- passed along to the remote machine. If array services are not available
- on either the local or remote machine, then an attempt will be made to
- establish a connection using the normal _r_s_h(1C) command. Thus, it is
- possible to use _a_r_s_h_e_l_l as a replacement for _r_s_h. (However, this should
- be done by placing _a_r_s_h_e_l_l earlier in the path than _r_s_h, nnnnooootttt by replacing
- _r_s_h since _a_r_s_h_e_l_l may need to invoke _r_s_h).
-
- Shell metacharacters that are not quoted are interpreted on the local
- machine, while quoted metacharacters are interpreted on the remote
- machine. Thus the command
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaarrrrsssshhhheeeellllllll((((1111)))) aaaarrrrsssshhhheeeellllllll((((1111))))
-
-
-
- arshell otherhost cat remotefile >> localfile
-
- appends the remote file _r_e_m_o_t_e_f_i_l_e to the local file _l_o_c_a_l_f_i_l_e, while
-
- arshell otherhost cat remotefile ">>" otherremotefile
-
- appends _r_e_m_o_t_e_f_i_l_e to _o_t_h_e_r_r_e_m_o_t_e_f_i_l_e.
-
- CCCCOOOOMMMMMMMMAAAANNNNDDDD LLLLIIIINNNNEEEE OOOOPPPPTTTTIIIIOOOONNNNSSSS
- These command line options are only relevant when both the local and
- remote systems are running array services and will be discarded if the
- command ends up being referred to _r_l_o_g_i_n or _r_s_h. In addition to these
- command line options, the standard command line options for _r_s_h and
- _r_l_o_g_i_n are also accepted.
-
- _----_DDDD Indicates that the request should be sent directly to the remote
- machine, rather than forwarded to that machine by the local array
- services daemon. This will fail on systems that use array services
- authentication unless the ----KKKKllll and ----KKKKrrrr options are also specified.
- _----_DDDD is the default behavior under normal circumstances (but see the
- description of the _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______FFFF_OOOO_RRRR_WWWW_AAAA_RRRR_DDDD variable, below).
-
- _----_FFFF Indicates that the request should be forwarded to the remote machine
- via the local array services daemon, rather than sent directly to
- it. _----_FFFF will become the default behavior if the value of the
- _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______FFFF_OOOO_RRRR_WWWW_AAAA_RRRR_DDDD environment variable begins with the letter "Y" (as
- in "yes"; it may be in either upper or lower case).
-
- _----_KKKK_llll _k_e_y
- Use _k_e_y for the local authentication key when communicating directly
- with the remote array services daemon. _k_e_y is an unsigned 64-bit
- value. The default local key is obtained from the environment
- variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______LLLL_OOOO_CCCC_AAAA_LLLL_KKKK_EEEE_YYYY; if that does not exist, no key is used.
- The actual role played by _k_e_y depends on the authentication method
- used by array services in a particular configuration.
-
- _----_KKKK_rrrr _k_e_y
- Use _k_e_y for the remote authentication key when communicating
- directly with the remote array services daemon. _k_e_y is an unsigned
- 64-bit value. The default remote key is obtained from the
- environment variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______RRRR_EEEE_MMMM_OOOO_TTTT_EEEE_KKKK_EEEE_YYYY; if that does not exist, no
- key is used. The actual role played by _k_e_y depends on the
- authentication method used by array services in a particular
- configuration.
-
- _----_llll _u_s_e_r_n_a_m_e
- Specifies that the command should be executing using the account of
- _u_s_e_r_n_a_m_e on the remote machine. _u_s_e_r_n_a_m_e must be equivalent (in the
- sense of _r_l_o_g_i_n(1C)) to your local userid.
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- aaaarrrrsssshhhheeeellllllll((((1111)))) aaaarrrrsssshhhheeeellllllll((((1111))))
-
-
-
- _----_NNNN Do nnnnooootttt revert to /usr/bsd/rsh if an array services daemon is not
- found on the local and/or remote machine. In this case, the command
- will simply fail.
-
- _----_OOOO Force usage of /usr/bsd/rsh. Useful if _a_r_s_h_e_l_l has been placed in
- the path before /usr/bsd with the name "rsh". WWWWaaaarrrrnnnniiiinnnngggg:::: an infinite
- loop will occur if /usr/bsd/rsh is _r_e_p_l_a_c_e_d by arshell!
-
- _----_pppp _p_o_r_t
- Specifies the port address of the array services daemon on the
- remote machine. Defaults to the value of the "ARRAYD_PORT"
- environment variable if present, or the standard port number of the
- "sgi-arrayd" service otherwise.
-
- _----_ssss Indicates that the rest of the command line should be treated as the
- command to be executed on the remote machine. This can be useful if
- the command happens to look like an arshell option.
-
- NNNNOOOOTTTTEEEESSSS
- The file ////uuuussssrrrr////ssssbbbbiiiinnnn////aaaarrrrsssshhhheeeellllllll is actually a wrapper script that exec's the
- binary ////uuuussssrrrr////lllliiiibbbb////aaaarrrrrrrraaaayyyy////bbbbiiiinnnn////aaaarrrrsssshhhheeeellllllll. This allows the system administrator
- to set standard options (e.g. ----FFFF) or override the actual binary that is
- used.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- array(1), rsh(1C).
-
- BBBBUUUUGGGGSSSS
- If you are using _c_s_h(1) and put _a_r_s_h_e_l_l in the background without
- redirecting its input away from the terminal, it blocks even if no reads
- are posted by the remote command. If no input is desired, you should use
- the ----nnnn option, which redirects the input of _a_r_s_h_e_l_l to /_d_e_v/_n_u_l_l.
-
- You cannot run an interactive command (like _v_i(1)); use _r_l_o_g_i_n(1C).
-
- Job control signals stop the local _a_r_s_h_e_l_l process only; this is arguably
- wrong, but currently hard to fix.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-